import trep

data1 = [
    ( -65.000000,  50.000000, None, 0.0),
    ( -50.000000,   5.000000),
    ( -45.000000,   0.000000, 0.0, 0.0),
    ## ( -45.000000,   0.000000),
    ## (  85.000000,   0.000000),
    (  85.000000,   0.000000, 0.0, 0.0),
    (  90.000000,  -5.000000),
    ( 105.000000, -50.000000, None, 0.0),
    ]

data2a = [
        (-10.000000, 0.000000),
        (-0.002000, 0.000000),
        (-0.001000, 0.000000),
        ( 0.000000, 0.000000),
        ( 0.001310, 0.010800),
        ( 0.002810, 0.025700),
        ( 0.004310, 0.043500),
        ( 0.005810, 0.065200),
        ( 0.007310, 0.091500),
        ( 0.008810, 0.123000),
        ( 0.010300, 0.161000),
        ( 0.011800, 0.208000),
        ( 0.012300, 0.227000),
        ( 0.033000, 1.000000),
        ( 0.059648, 2.000000),
        ( 9.200000,345.000000),
        ( 9.201000,345.000000),
        ( 9.202000,345.000000),
        (20.000000,345.000000)
    ]

data2b = [
    (-10.0, 0.0, 0.0, 0.0),
    ( 0.000000, 0.000000, 0.0, 0.0),
    ## ( 0.001310, 0.010800),
    ## ( 0.002810, 0.025700),
    ## ( 0.004310, 0.043500),
    ## ( 0.005810, 0.065200),
    ## ( 0.007310, 0.091500),
    ## ( 0.008810, 0.123000),
    ## ( 0.010300, 0.161000),
    ## ( 0.011800, 0.208000),
    ## ( 0.012300, 0.227000),
    #( 0.033000, 1.000000),
    #( 0.059648, 2.000000, None, 0.0),
    #( 4.200000,345.000000, None, 0, 0.0),
    ( 10.0, 345.0, 0.0, 0.0)
    ]

from trep.visual.splineplotter import plot_spline

plot_spline(trep.Spline(data2b))
